/*
 * @Description: 
 * @FilePath: \rs_wms_pc\src\mixin\pageSearchTable.js
 */
// 列表页 列表表格高度计算

export const mixins = {
    data() {
      return {
        calcTableHeight:'calc(100vh - 270px)',
      };
    },
    computed: {},
    created() {
    },
    mounted() {
      this.$n
      this.$nextTick(()=>{
        let elHeight = 0;
        this.$refs.queryForm? elHeight += this.$refs.queryForm.$el.clientHeight :''
        this.$refs.btnGroup? elHeight += this.$refs.btnGroup.$el.clientHeight :''
        this.$refs.halfTable? elHeight += this.$refs.halfTable.$el.clientHeight :''
        console.log(this.$refs.halfTable.$el.clientHeight)
        this.calcTableHeight =  `calc(100vh - ${elHeight + 180}px)`  
      })
    },
    methods: {
    },
};